package entry;

public class DiscPaiHang {
    private String name;
    private int ket;

    public DiscPaiHang(String name, int ket) {
        this.name = name;
        this.ket = ket;
    }

    @Override
    public String toString() {
        return "排行榜{" +
                "碟片名称-->" + name + '\'' +
                ", 出租次数-->" + ket +
                '}';
    }

    public DiscPaiHang() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getKet() {
        return ket;
    }

    public void setKet(int ket) {
        this.ket = ket;
    }
}
